﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Kooboo.Web.Areas.Commerce.RegisterModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
        <%: "Register".Localize()%>
    </title>
    <link href="/Content/css/reset.css" rel="stylesheet" type="text/css" media="all" />
    <link href="/Content/css/base.css" rel="stylesheet" type="text/css" media="all" />
    <link href="/Content/css/login.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="/Content/css/form.css" rel="stylesheet" type="text/css" media="screen" />
    <!--[if lte IE 7]>
	<link href="/Content/css/ie.css" rel="stylesheet" type="text/css" media="screen" />
	<![endif]-->
    <script type="text/javascript" src="/Scripts/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="/Scripts/cluetip/jquery.hoverIntent.js"></script>
    <script type="text/javascript" src="/Scripts/cluetip/jquery.bgiframe.min.js"></script>
    <script type="text/javascript" src="/Scripts/cluetip/jquery.cluetip.js"></script>
</head>
<body>
    <div id="body-container">
        <div id="header" class="clearfix">
            <h1 class="logo">
                <a href="#">
                    <img src="<%= Url.Content("~/content/images/logo.png") %>" alt="Logo" /></a></h1>
            <span class="slogan"><em>
                <%: "Welcome to Kooboo Commerce".Localize()%></em></span>
        </div>
        <div id="main-container" class="clearfix">
            <div id="main">
                <h2>
                    <%: "Create a New Account".Localize() %>
                </h2>
                <p>
                    <%: "Use the form below to create a new account. ".Localize()%>
                </p>
                <% using (Html.BeginForm())
                   { %>
                <%: Html.ValidationSummary(false, "Account creation was unsuccessful. Please correct the errors and try again.") %>
                <div>
                    <fieldset>
                        <legend>
                            <%: "Account Information".Localize()%></legend>
                        <div class="editor-label">
                            <%: Html.LabelFor(m => m.UserName) %>
                        </div>
                        <div class="editor-field">
                            <%: Html.TextBoxFor(m => m.UserName) %>
                            <%: Html.ValidationMessageFor(m => m.UserName) %>
                        </div>
                        <div class="editor-label">
                            <%: Html.LabelFor(m => m.Email) %>
                        </div>
                        <div class="editor-field">
                            <%: Html.TextBoxFor(m => m.Email) %>
                            <%: Html.ValidationMessageFor(m => m.Email) %>
                        </div>
                        <div class="editor-label">
                            <%: Html.LabelFor(m => m.Password) %>
                        </div>
                        <div class="editor-field">
                            <%: Html.PasswordFor(m => m.Password) %>
                            <%: Html.ValidationMessageFor(m => m.Password) %>
                        </div>
                        <div class="editor-label">
                            <%: Html.LabelFor(m => m.ConfirmPassword) %>
                        </div>
                        <div class="editor-field">
                            <%: Html.PasswordFor(m => m.ConfirmPassword) %>
                            <%: Html.ValidationMessageFor(m => m.ConfirmPassword) %>
                        </div>
                        <p>
                            <input type="submit" value="Register" />
                        </p>
                    </fieldset>
                </div>
                <% } %>
            </div>
            <div id="sidebar">
            </div>
        </div>
        <div id="footer">
            <p>
                &copy; 2010 Kooboo Team | <a href="#">Home</a> | <a href="#">Privacy Policy</a>
                | <a href="#">Contact Us</a></p>
        </div>
    </div>
</body>
</html>
